import React from 'react'


class ChildrenComp1 extends React.Component {
  render() {
    const { count, handle } = this.props
    return <div>
      <h2>ChildrenComp1</h2>
      <h3>count: { count }</h3>

      <button onClick={() => handle()}>+1</button>
    </div>
  }
}

export default ChildrenComp1